package cn.wolfcode.luowowo.website.util;

import java.util.Calendar;

public class GetEndDayTime {
    public static Long getEndTime() {
        Calendar todayEnd = Calendar.getInstance();
        todayEnd.set(Calendar.HOUR_OF_DAY, 23); // Calendar.HOUR 12小时制
// HOUR_OF_DAY 24小时制
        todayEnd.set(Calendar.MINUTE, 59);
        todayEnd.set(Calendar.SECOND, 59);
        todayEnd.set(Calendar.MILLISECOND, 999);
        return (todayEnd.getTimeInMillis() - System.currentTimeMillis())/1000;
    }
}
